Imports OMANE.Common.UI
Imports System.Collections.ObjectModel
Imports System.Windows
Imports Infragistics.Windows.Chart
Imports System.Windows.Controls
Imports System.ComponentModel
Imports PTIC_GestionBDD
Imports System.Collections.Specialized
Imports Microsoft.Practices.Prism.Commands


Public Class VMDataSourceConfigure
    Inherits ViewModelBase


    Private _Folder As String
    Public Property Folder As String
        Get
            Return _Folder
        End Get
        Set(ByVal value As String)
            OnPropertyChanging("Folder")
            _Folder = value
            If Views.ViewDataModelEditor.Workspace IsNot Nothing Then
                Views.ViewDataModelEditor.Workspace.DataService.AssignLibref( _
                     "ICHOU", _
                     "", _
                     _Folder, _
                     "")
            End If
            OnPropertyChanged("Folder")
        End Set
    End Property


    Private _FileFormat As String
    Public Property FileFormat As String
        Get
            Return _FileFormat
        End Get
        Set(ByVal value As String)
            OnPropertyChanging("FileFormat")
            _FileFormat = value
            OnPropertyChanged("FileFormat")
        End Set
    End Property


    Private _BankName As String
    Public Property BankName As String
        Get
            Return _BankName
        End Get
        Set(ByVal value As String)
            OnPropertyChanging("BankName")
            _BankName = value
            OnPropertyChanged("BankName")
        End Set
    End Property



    Private _EncoursDate As String
    Public Property EncoursDate As String
        Get
            Return _EncoursDate
        End Get
        Set(ByVal value As String)
            OnPropertyChanging("EncoursDate")
            _EncoursDate = value
            OnPropertyChanged("EncoursDate")
        End Set
    End Property


    Private _IsFichierUnique As Boolean = False
    Public Property IsFichierUnique As Boolean
        Get
            Return _IsFichierUnique
        End Get
        Set(ByVal value As Boolean)
            OnPropertyChanging("IsFichierUnique")
            _IsFichierUnique = value
            OnPropertyChanged("IsFichierUnique")
        End Set
    End Property


End Class
